﻿using System;
using DynCMS.NET.Infrastructure.IOC;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace DynCMS.NET.Infrastructure.Test
{
    [TestClass]
    public class IOCProviderTest
    {
        [TestMethod]
        public void ResolveGenericRepositoryTest()
        {
            var pr = IOCProvider.Instance.Resolve<Core.Interfaces.IDataRepository<Core.Entities.Page>>();
            Assert.IsNotNull(pr);
        }
    }
}